package com.hackintosh.responsibility.oa;

/**
 * @description：抽象处理者：领导类
 * @author：twislyn
 * @date：Created in 2021/05/20
 * @modified By：
 * @version: 1.0
 */
public abstract class Leader {
    private Leader next;

    public Leader getNext() {
        return next;
    }

    public void setNext(Leader next) {
        this.next = next;
    }

    /**
     * 处理请求的方法
     * @param leaveDays
     */
    public abstract void handlerRequest(int leaveDays);
}
